package com.bzg.manager.bean;

import org.apache.commons.lang3.StringUtils;

/**
 * Description:OSD信息
 *
 * @author gmy
 * @date 2017年3月9日 上午11:29:47
 */
public class OSDInfo {
	
	private String whcode;//仓库代码
	private String vendCode;//供应商代码
	private String partNo;//零部件编号
	private Integer roundQ;//OS&D实时数量
	private Integer changWaiQ;//厂外自检
	private Integer changNeiQ;//厂内返出
	private Integer senToVendQ;//发往供应商数量
	public void setWhcode(String whcode) {
		if(StringUtils.isEmpty(whcode)){
			this.whcode = "-";
		}else{
			this.whcode = whcode;
		}
	}
	public void setVendCode(String vendCode) {
		if(StringUtils.isEmpty(vendCode)){
			this.vendCode = "-";
		}else{
			this.vendCode = vendCode;
		}
	}
	public void setPartNo(String partNo) {
		if(StringUtils.isEmpty(partNo)){
			this.partNo = "-";
		}else{
			this.partNo = partNo;
		}
	}
	public void setRoundQ(Integer roundQ) {
		if(roundQ == null){
			this.roundQ = 0;
		}else{
			this.roundQ = roundQ;
		}
	}
	public void setChangWaiQ(Integer changWaiQ) {
		if(changWaiQ == null){
			this.changWaiQ = 0;
		}else{
			this.changWaiQ = changWaiQ;
		}
	}
	public void setChangNeiQ(Integer changNeiQ) {
		if(changNeiQ == null){
			this.changNeiQ = 0;
		}else{
			this.changNeiQ = changNeiQ;
		}
	}
	public void setSenToVendQ(Integer senToVendQ) {
		if(senToVendQ == null){
			this.senToVendQ = 0;
		}else{
			this.senToVendQ = senToVendQ;
		}
	}
	public String getWhcode() {
		return whcode;
	}
	public String getVendCode() {
		return vendCode;
	}
	public String getPartNo() {
		return partNo;
	}
	public Integer getRoundQ() {
		return roundQ;
	}
	public Integer getChangWaiQ() {
		return changWaiQ;
	}
	public Integer getChangNeiQ() {
		return changNeiQ;
	}
	public Integer getSenToVendQ() {
		return senToVendQ;
	}
	
}
